import 'package:json_annotation/json_annotation.dart';

part 'userInfo.g.dart';

@JsonSerializable()
class UserInfo {
  UserInfo();

  String? birthday;
  String? code;
  String? roleId;
  num? sex;
  String? deptId;
  String? updateUser;
  String? updateTime;
  String? avatar;
  String? postId;
  String? realName;
  String? password;
  num? isDeleted;
  String? createTime;
  String? phone;
  String? tenantId;
  String? name;
  String? createUser;
  String? id;
  String? account;
  String? email;
  num? status;
  
  factory UserInfo.fromJson(Map<String,dynamic> json) => _$UserInfoFromJson(json);
  Map<String, dynamic> toJson() => _$UserInfoToJson(this);
}
